package com.ease.platform.workbench.service;

import java.util.List;

import com.ease.model.term.CoolBar;
import com.ease.model.term.CoolMenu;
import com.ease.model.term.CoolPerspective;
import com.ease.model.term.CoolView;
import com.ease.platform.auditlog.annotation.Auditable;
import com.ease.platform.authorization.service.AuthorizationService;

public interface WorkbenchManagementService extends AuthorizationService {

	@Auditable(false)
	public List<CoolPerspective> findCoolPerspectives();

	@Auditable(false)
	public List<CoolView> findCoolViews();

	/**
	 * 根据透视图找对应的主菜单
	 */
	@Auditable(false)
	public List<CoolMenu> findMainMenusByPerspectiveViewCode(String code);

	/**
	 * 根据透视图找对应的工具条
	 */
	@Auditable(false)
	public List<CoolBar> findCoolBarsByPerspectiveViewCode(String code);

}
